package com.gk.study.service;


import com.gk.study.entity.Guest;
import com.gk.study.entity.User;

import java.util.List;

public interface GuestService {
    List<Guest> getGuestList(String keyword);
    void createGuest(Guest guest);
    void updateGuest(Guest guest);
    void deleteUser(String id);
    //根据电话查询
    Guest getGuestByPhone(String phone);

    Guest getGuestOne(Guest guest);

    Guest getGuestDetail(int id);
    public void updateGuestPartial(Guest guest);

    void sendCode(String phone);

    String verifyCode(String phone, String code);

    Guest findByName(String name);
}
